package com.yfp.machine.service;

import com.yfp.machine.domain.MealReplacement;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
*
* @description 针对表【meal_replacement(代取餐状态表)】的数据库操作Service
* @createDate 2025-01-16 14:16:57
*/
public interface MealReplacementService extends IService<MealReplacement> {

    /**
     * 根据用户id和设备id查询代取餐状态
     *
     * @param machineId 设备id
     * @return
     */
    List<MealReplacement> getByMachineId(String machineId);

    /**
     * 获取代取餐状态
     * @param machineId
     * @return
     */
    Boolean getOperationalOnlineStatus(String machineId);
}
